package com.gpay.erp.services.purchase.impl;

import com.gpay.erp.core.dao.BaseDao;
import com.gpay.erp.core.dao.page.PagerModel;
import com.gpay.erp.services.purchase.PaymentOrderSubService;
import com.gpay.erp.services.purchase.bean.PaymentOrderSub;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by wuzonghui on 15/11/13.
 */
@Service
public class PaymentOrderSubServiceImpl implements PaymentOrderSubService {
    @Resource
    private BaseDao dao;
    @Override
    public int insert(PaymentOrderSub paymentOrderSub) {
        return dao.insert("paymentOrderSub.insert",paymentOrderSub);
    }

    @Override
    public int delete(PaymentOrderSub paymentOrderSub) {
        return 0;
    }

    @Override
    public int deletes(String[] ids) {
        return 0;
    }

    @Override
    public int update(PaymentOrderSub paymentOrderSub) {
        return 0;
    }

    @Override
    public PaymentOrderSub selectOne(PaymentOrderSub paymentOrderSub) {
        return null;
    }

    @Override
    public PaymentOrderSub selectById(String id) {
        return null;
    }

    @Override
    public PagerModel selectPageList(PaymentOrderSub paymentOrderSub) {
        return null;
    }

    @Override
    public List<PaymentOrderSub> selectList(PaymentOrderSub paymentOrderSub) {
        return null;
    }
    @Override
    public List<PaymentOrderSub> selectListByFid(String f_paymentOrderId) {
        return dao.selectList("paymentOrderSub.selectListByFid",f_paymentOrderId);
    }
}
